package com.framework;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
class BusinessWorkflow {
    private String id;
    private String name;
    private List<WorkflowStep> steps = new ArrayList<>();

    // 工作流步骤
    @Data
    static class WorkflowStep {
        private String component;
        private Map<String, String> inputMappings;
        private Map<String, String> outputMappings;
        private List<String> conditions;
    }
}